#ifndef __RADAR_H__
#define __RADAR_H__

#include <stdint.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif

/*雷达数据*/
typedef struct RadarData_ {
  uint16_t dist;
  uint16_t amp;
} RadarData_t;

#ifdef __cplusplus
}
#endif

int Radar_Trigger(RadarData_t *data);
int Radar_InitSetttings();
void Radar_PowerReset();
int Radar_AdjustUpgrade();
#endif

